﻿<Window x:Class="CraigsCrawler.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CraigsCrawler" Height="500" Width="700">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        
        <Grid Grid.Column="0">
            <Grid.RowDefinitions>
                <RowDefinition Height="20" />
                <RowDefinition Height="20" />
                <RowDefinition Height="*" />
                <RowDefinition Height="100" />
            </Grid.RowDefinitions>

            <ComboBox Grid.Row="0" Name="SearchSelector" DisplayMemberPath="Name" SelectionChanged="SearchSelector_SelectionChanged" />
            
            <Grid Grid.Row="1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <Button Grid.Column="0" Name="NewButton" Content="New" Click="NewButton_Click" />
                <Button Grid.Column="1" Name="InterestedButton" Content="Interested" Click="InterestedButton_Click" />
                <Button Grid.Column="2" Name="IgnoredButton" Content="Ignored" Click="IgnoredButton_Click" />
            </Grid>
            <ListView Grid.Row="2" Name="ItemPanel" HorizontalContentAlignment="Stretch" SelectionChanged="ItemPanel_SelectionChanged" />
            <TextBox Grid.Row="3" Name="StatusBox" VerticalScrollBarVisibility="Auto" />
        </Grid>
        
        <WebBrowser Grid.Column="1" Name="Browser" />
    </Grid>
</Window>
